#ifndef __GAME_OVER_LAYER_H__
#define __GAME_OVER_LAYER_H__

#include "cocos2d.h"
#include "cocos-ext.h"

using namespace cocos2d;

class GameOverLayer : public CCLayer 
{
public:
    virtual bool init();  
    CREATE_FUNC(GameOverLayer);

	~GameOverLayer(void); 
	
	void gameOver(CCScene* scene);
	void toMainMenu(CCObject* pSender);
	void restart(CCObject* pSender);
private:
	extension::UILayer *m_pUiLayer;
    extension::Layout *m_pWidget;
	CCSize _winSize;
};

#endif // __GAME_OVER_LAYER_H__

